added deck as a new class