changes in buffer