Pileup: add comments and rename variables