change common header; add implementation for tree node