adds the hand matching algorithm