applied btree to project