added streamGate