adopt a template