completed basic search for duplicate