Wrap if statement in curly-braces