check potential duplicates