change to use new btree