add using btree for duplicates