Let's take out almost all of the extraneous curly braces... it's just not the way we do it in MOOSE.

Yes, you have to have curly braces in a `case` statement if you declare a variable in it... that's the only time you need curly braces in a `case`