changed 'private' variable name prefixes, implementeded bad_checksum test.