nit: put the { on the next line (also in two places further down)