Change win=1 to win=2