reading in of tree working