Updated win logic.