a better solution for functional game loop