use <code>bool</code> instead of <code>boolean</code> for consistency