add matching threshold to weed out bad matches