added business logic to leaderboard