slight change to rw data matrix