typo I guess `s/chanHaveDuplicates/canHaveDuplicates/`