initial work on btree