turned rating into two fields for aggregation
added group by for selecting profs