setting up the templates