Leaderboard and code improvement