working on generating joints
getjoints seems to be working.