rename for gameLoop