trying out some templating stuff. blerg.