Indentation here seems to be off. Also, I'm not sure whether we put curly braces around cases in the rest of the code.. might be worth checking that and seeing whether this matches it style.