Final legacy version
(continued)