sketch for the browser tree method