add read buffer