Adding FPS control.