add fps control