Missing braces around body of ```if```, arguable on this, but I think it helps avoid possible future bugs when changes are made.