Added example streaming code