Changed brackets to braces to indicate a closure in the case statement.
Should fix #138