add read/write option