switch/case snippets.