5981 FOR M=1 TO NV STEP 6