adds commenting functionality