delete Deck function