rowmajor works fine