Nit: space between `else` and `if`