Print subdistribution
print distribution
if (!headers_sent()) { // modification