added the joints