switch statement

try it elsewhere