game running works correctly, but fragile-ly