added some tree stuff