game engine now working