I would make sure and `toLowerCase()` the level here to normalize the input & add tests for different cases.