add if to eliminate innecesary evaluations of the winner