new solenoid code