add switch statement exercise