adding comment function