Removed excess code relatd to arm joints