variable scope exercises