Changes to hand.cpp