add linking table and dupe finder query