changed to `assert()`