Added gameLoop