Unpolluting from global variable