working on tree stuff.