work with tree