adding in template