Write comments for function definitions