code snippet edits