checking framerate