Completed the deck class