implements find winner.