move the templating