nit: the `function() {` can be on the previous line