added a base tempalte.