now only adding 1 variable to global namespace