removed global assignment in game