adding suppport for semantic highlighting