moved check_fps to TimeManager class