added rating_hash helper method