got it. Lines 129, 130 are the cases with root = false.