Made ro/rw function save existing bit