shared pointers for streams