better buffer example
better buffer example