Title: Sets, events, and switching