- change triviaGame variable from global to local