templating work