added Ratings before start query