Added render and sample tmpl