more templating... mmmmmhmph.