encapsulates comment code