- externalized the templates