next step add win logic