add a generic class Deck