[A] : add the register tree mode