add min_ratings and max_ratings