Adding npes declaration in subroutine.