adds spooling pattern for stream reading