now with solenoid, working