the new discard, printHand, and ifDefs