added lcs for fuzzy matches