created the templating