inserted comments for logging part of semanticMarkup