Added average FPS parameter