fiddling with details
start on edit distance