should use `{}` to delimit if statement