use a stream from mongo