fixed problems, tests passing up to scoping lesson