Splitted REGEX in 2 vars
Changes to checkIntegrity
More verbosly