Checking for dirty data