What is the working principle of an imported flow switch?