removing some of the primary variables from global scope