Implemented checksum verification