hashing profs and returning their ratings