readd trees.py