add showRankFunc