edits to return code examples