editing comments for the function