started working on a leaderboard function