setting up initial template conversion