new file:   template_func.cc