fixed btree and now has sceleton