refactored plot_rankings() and set_plot_rankings()