Added some code for clearHands()