classes and decks