Changes to game engine