Added final pktnum printing code