added renderFunction to show ranking rows