knowing when to give up on a match