modify Delete method