pollutant mean function