add printHands method