complete templating