Pythia code