Working on cTemplate