Added processing SWITCH (but didn't test yet)