added streamInput