before add func of comment