Expanding on the example to include a buffer manipulation.