soapy: work on the stream api