ratingscontroller and view