modified the trestle file to reflect the division between nodes and trees