setting the template