edits and macro