merged, getting the joint positions