Added passing solenoid code