add searchmatrix