dis refactor, sync, log, deserialize