IIUC, this would mean if module.getType() is *processor* append the index (start at 0 and increment for each processor module within this loop), correct?