remove logging statement in getTemplate
wip