change buffer to an example string