add func for distinct fuzzy matching