adapted tempalte