broken; correcting levdist