tree node structure finished