clarifying reRoot logic