Corrected 'bool' to 'boolean'