should read 'stream' here