added template process