Make read/write more consistent, add mutual information example