removed unnecessary code from Deck