edit function comments