recover 2 elements of tree