corrected my try-except blocks, trees are returned as trees, and functions that return them include the word "tree" in their name