game loop changed