Magnetic-Flow-Switch-Function2