limited the scope 

limited the scope by wrapping in the function in brackets