added a new wrapper method related to comment type