ratings and comments refactoring.