make maxFps configurable