implemented check-n-in-hand.