Reverted changes to hand.cpp