Implemented Ratings.java