add the pileuptaggig algorithm separately