added instance variables to TreeObject