add addRating method