added tiebreaker feature