nit: use braces even for single-line body