Added a routine, now commented out, to remove all duplicates (not only