better time kepeing on the game loop