adding edits to the af snippet