#24 check for duplicates