refactoring Show Ranking