implemented newDeck