added SockPol, improved motion recog