game loop changes