- added example for buffer