edited solenoid function