started using this new buffer method