Some changes in game engine