added torque and orientation