multiple matrix is working