1. renamed switch_continuity_violations to simultaneous_switches
2. made the method more terse