         return res.end()
       humanSkipCount = Math.floor(Math.random() * numberOfHumans)
       ogreCountParams =
-        'levelID': 'greed'
+        'levelID': levelID
         'submitted': true
         'team': 'ogres'
       LevelSession.count ogreCountParams, (err, numberOfOgres) =>

  #if userIsAnonymous req then return errors.unauthorized(res, 'You need to be logged in to get games.')
  humansGameID = req.body.humansGameID
  ogresGameID = req.body.ogresGameID

  unless ogresGameID and humansGameID
    #fetch random games here
    queryParams =
      'levelID': 'greed'
      'submitted': true
      'team': 'humans'
    selection = 'team totalScore transpiledCode submittedCodeLanguage teamSpells levelID creatorName creator submitDate'

          if err? then return errors.serverError(res, "Couldn't select a random session! #{err}")
          randomSession = randomSession[0]
          queryParams =
            'levelID': levelID
            'submitted': true
            'team': 'ogres'
          query = LevelSession
