added array checksum