load the buffer