adding support for streaming data