got rid of read buffer