parameters updated for edit distance output