Implemented setting rating