added a template helper template