how to set up the template