add read_and_write