more work on pileup
pileup runs without crashing