use braces consistently