set up templates