adding template engine