switch between output streams. e.g. a filter that pipes valid & invalid data to different streams