   setupGamesFor: (categoryId) =>
     @generateGamesListFor(categoryId).then (games) =>
       @initialiseStatus()
-    
-      first_game = games.pop()    
+
+      first_game = games.pop()
       @$location.path("/games/#{categoryId}/#{first_game}").search("games=#{JSON.stringify(games)}")
 
 

    deferred = @$q.defer()

    @categoryService.get(categoryId).then (category) =>
      wordGames = [6,7]
      audioGames = [1,2,5,8]
      pictureGames = [3,4,9]

      games = wordGames

      games = games.concat pictureGames if category.games.image

      numGamesRemaining = @GAMES_PER_ROUND - games.length
      randomGames = [1..numGamesRemaining].map (g) ->
        randomIndex = Math.floor(Math.random() * (games.length - 1))
        games[randomIndex]
      games = games.concat randomGames
