prepare using tree hierarchy within users