better precision trying to eliminate duplicates