working on templating stuff...