table 5 now uses the new joint_id and joint_ex_id system