added joint demo