         opponent = match.opponents[0]
         opponent.userName = @nameMap[opponent.userID]
       @finishRendering()
-      
+
     $.ajax('/db/user/-/names', {
       data: {ids: ids}
       type: 'POST'
       success: success
     })
-    
+
   # PART 4: Rendering
 
   finishRendering: ->

    @level = new Level(_id:@levelID)
    @level.fetch()
    @level.once 'sync', @onLevelLoaded, @
    
    url = "/db/level/#{@levelID}/session?team=#{@team}"
    @session = new LevelSession()
    @session.url = -> url

  constructor: (@level, @team, @session) ->
    _.extend @, Backbone.Events
    score = @session?.get('totalScore') or 25
    otherTeam = if @team is 'ogres' then 'humans' else 'ogres'
    @easyPlayer = new LeaderboardCollection(@level, {order:1, scoreOffset: score - 5, limit: 1, team: otherTeam})
    @easyPlayer.fetch()
    @easyPlayer.once 'sync', @challengerLoaded, @
    @mediumPlayer = new LeaderboardCollection(@level, {order:1, scoreOffset: score, limit: 1, team: otherTeam})
    @mediumPlayer.fetch()
    @mediumPlayer.once 'sync', @challengerLoaded, @
    @hardPlayer = new LeaderboardCollection(@level, {order:-1, scoreOffset: score + 5, limit: 1, team: otherTeam})
    @hardPlayer.fetch()
    @hardPlayer.once 'sync', @challengerLoaded, @

