added content comparison and adapted Levenshtein