added JointPin creation