So what happens exactly when mpc exists? Can you add some comments to the code please?