index data is now memwrite