new game code modified