an attempt to make matrix with not only one row