Adding ability to loop over pdenumbers passed in as arguments