added template_service