using stringtemplate as code renderer