working matrix
updated samples