Use many cases instead of ensure()