nit: I prefer putting a newline after `{`.