added getRanking and setRanking