towards templating