add wrt comment function