added variable scope exercise