added the ratings model