Changes to deck.cpp