more printing for root and header