added example of streaming