add streaming api