react to read/write