control of the line and column of the matrix