w.i.p.: specializing matches for single switches