add 2.matrix_path