add get_rankings method