add basic logic for winner.