Don't use a switch here, if you just mean an if-then-else.