figuring out the templating