some torque code added