add the iklib and complit the ik function