Overuse global variables slightly less