Added def for match threshold