added nametemplate