improved write caching