added game code