2940 FOR M=1 TO 2