working on btree, probably will be redone soon