Use switch for readability.