nit: styling, spaces after/before curlies, semi-colon, or just use an arrow function