solenoid valve functions