added joint class