Added parameters to streaming()