complete comment function