textstream integration for #30