or even better `switch = mode == :on`