Now checks for different types of discrepancies