It might be clearer to move this `return` up into a `default` clause of the `case` statement.