Added code2 to IPN model.