typo - Boolean is not a function