begin work on templating