Integrity checking addition

Fixed.