IPR2 code