move tagNames to template