switch to caching writer