first pass at a leaderboard query
twerking the code