added deck class