working on delete delivery mode