Style nit: please don't use one-line `if`-statements, since it makes the code harder to read.