working on btree implementation