in a matrix