calculating the checksum!