changed rw memory