modified matrixes