Adding split hand feature into code.