Use switch statement