resolves Streams 187