Doing a switch on a boolean looks weird. Why not simply using a ``if`` ?