made highlighter follow constructor pattern