measuring buffer
