added currentFramesPerSecond