put the confim delete code back in