Could there be a possibility for a data type other than `1` or `0` to sneak in? Could use a `default` case in the switch for error handling if so.