added highlighting of templates