Add levenshtein distance and string trimming