started working on templating