added parseHand function