print for compositenode