duplicate matching