added closure around game code