PNP: use conventional "i" for loop indices