added function to book results tree
filling results tree