added joint index to limb index.