set up the template for working