Improve streams

result type