making sensor template.