added streaming api example