rating is functioning