change made to win logic