nit: whitespace before open parens, after commas, and on both sides of braces.