added template_C