refactored bad stream processing