set frame rate