complete the basic function of comment