changes to game engine contructor