Fixing scope error pt 2