added a template base