switching box definitions