remembered to pass in checksum_type