send in params to tpl.