changed list_switches