nit: you can do an `else if`