templating boilerplate