SWITCH diagram