adding Templating