refactor frame rate definitions