send a stream object instead