Checksum now works on header and data