improved printing of trunk structure