 						game.quotes = quoteEntities
 					else
 						error = quoteQueryError
-						
+
 					done error, {"game": game }
 			else
 				game = null

							game.quotes = quoteEntities
						else
							error = quoteQueryError
						
						completeCount++
						if completeCount == results.length
							done()
						
				getQuotes game for game in results
			 
			else						
				done()
	getGame: (game_id, withQuotes, done)=>
		error = null

		@tableService.retrieveEntity @catalogueTableName, 'zvgq-game', game_id, (error, result, response)=>		
			if withQuotes is true and response.body isnt null
				game = new GameModel response.body
				quotesRepo = new QuotesRepository @tableService

				addResult = (sourceEntity)->
					newGame = new GameModel sourceEntity
					results.push newGame

				addResult game for game in entities.entries

			else
				error = gameQueryError

			# Add quotes to games, if requested
			if withQuotes == true and results.length > 0
				quotesRepo = new QuotesRepository @tableService
				completeCount = 0
				getQuotes = (game)->
