adding edit_compare