added checksum to headers block