changed reference to buffer
Changed buffer