some stuff on tree nodes