tied winning condition together