adding templating
adding templating