data reader and Deck class