cosmetic: add braces around large one-line block for readability