revisited write-to-log step