less bizarre stream() function (thanks @hodgestar)