actual state writes are optimized