you should add `break;` after this assignment, otherwise the `switch` is corrupted