adding comment detection