Removed old deduping code
Removed old deduping code
Rewrote requiredFields logic