working btree_insert