by applying dc to the motor