WIP testing renderTemplate. Not working