BTree is still not functioning properly, but it does at least run now