edits used in code