diff initialization