changed streams to buffers - runs