PWM for solenoids added.