improved logging. additions to storage system