While WAP7 came out after the WAP5, technically both came out at the same time. IR got WAP5 and WAG9 locos from ABB at the sametime. WAP7 was just some software modifications and gear ratio change done on the WAG9 locomotives. There were no technology upgrades added to P7. In fact, P5 has more advanced features suitable for a passenger loco as compared to P7.