finish checksum functions