tree node travel for basic