style-nit: space after the word "switch" (it's a keyword)