more edits to function notes