set up templates.