adding hash table to hasHand functions