This is better as one if-else, rather than `if (...) { ... return }`