added semantic checksum as defined in issue #1