set the framerate