set up for templating