Doc and renaming factor to be rating