templating works