Added template.c