added leaderboard and scoring functions