change to use newer btree