check for duplicates added