add read/write memory