added tab for printing tree