adding auto_accept to template