preparing for edit