dec_14_2014 version, before changing to 3 joints