adding pileup check