edits up to step 6