extend game loop