Extended new template engine