just traverse tree