add buffer.