Nit: type annotations need curly braces - `{boolean}`