           status = "Won"
           won = true
         game.won = won
+        if game.won
+          recountWins++
+        else
+         recountLosses++
+
         game.isHome = isHome
         game.isAway = isAway
         completed = game.get('completedAt')

  completedGames: ( ->
    @set('games', [])
    person = @get('model')
    @get('store').fetch('completedGame').then ((games) =>
      person = @get('model')
      gameHistory = games.filter (game) =>

      @set('lastStatus', status)
      @set('lastPlayed', last)
      @set('games', totalGames)

      console.log recountWins
      console.log recountLosses
      wins = @get('wins')
      losses = @get('losses')
      if recountWins != wins or recountLosses != losses
        person = @get('model')
        person.set('wins', recountWins)
        person.set('losses', recountLosses)
        person.save()
    )
    ""
  ).property('content', 'controllers.completedGames.games.@each')
