added streaming sample