6915 FOR J=1 TO NG