work in progress btree.rx from last night