adding the ratings model