made calculateTableChecksum a static method