As a coding style suggestion, I think we should always use braces and avoid one liner conditions. Helps us avoid silly errors like
```
goto fail;
goto fail;
```