added print tree struct of expire and terms