use buffers as closures