Final Project

How could you avoid creating all of these globals?