use switch to demonstrate returns are mutually exclusive