First code

Performant check if done,
correct identifying of ps and pz