starting to add the template engine in