setting up the template