check for duplicate items