rename potentialDup to canHaveDuplicates