changed the scope of the variable