diverting the stream into alternative paths