finished variable scope exercises