(one tiny nit: this file doesn't put a space between the `if` and the `(`)