code for hand types added.