Finally adding the c template