complete template feature addition.