implemented setCardDeck