trying refactor deckDW class