remove bTree function