fixing up get_rating by determining which is the right instance to call