Added checkWin