edits function comments