Implemented timing for FPS restriction