Before adding checksum