Some more working code for switch flow