added template_tools