setting up templating