started to extend the list to print the trees