added dc mode and torque