just translate int [] num functions to apply for Deck and Cards.