Added an example of using a stream