made TreeEntry constructor public