template engine changes