fixed hasWon adding to array