added more detailed stream example