added totalPoints to ranking list