nit: { on the same line as the function