"switch" statement": would you know a more compact statement?