adds leaderboard functionality