added legend to leaderboard