trying out templating stuff (WIP)