Method for checksum checks