duplicateDetected now really added