Added transition for switches (testing)