added floor to framerate.