changes to Tree renderer