add levenshtein lenght calculation for string matching