remvoed duplciate checking code that did not find duplicates as every
time a new object was created.