Added tree management