try hmatrix first