Mexican and Canadian officials are optimistic they can reach a Nafta trade deal with the U.S. in the next several months, even amid sticking points on car production, an automatic expiration clause and President Donald Trump’s threats to impose tariffs on foreign vehicles.

The nations will work to land an agreement before U.S. mid-term elections in early November, Mexican Economy Minister Ildefonso Guajardo said Wednesday as he and Foreign Minister Luis Videgaray hosted their Canadian counterpart Chrystia Freeland in Mexico City. While some of the negotiations take the shape of meetings between just two nations, and the U.S. has expressed a preference for bilateral deals, Mexico and Canada remain committed to a trilateral agreement, they said.

High-level talks on the North American Free Trade Agreement are picking up again this week after two months of limited negotiations that were marred by tit-for-tat tariff battles and diplomatic fallout. Guajardo is traveling to Washington on Thursday for talks with U.S. Trade Representative Robert Lighthizer. Combined with Wednesday’s meeting in Mexico, the bilateral gatherings are the busiest Nafta negotiations have been since May.

Many of Trump’s senior economic advisers expect him to impose a 25 percent tariff on about $200 billion in foreign-made automobiles later this year, the Washington Post reported on Wednesday, citing three people briefed on the matter. Freeland reiterated her view that slapping tariffs on automobiles from Canada based on a national security review is “absurd.” She said she’s confident the U.S. will follow common sense and refrain from imposing the tariffs. Videgaray also said Mexican vehicles don’t pose a threat to the U.S.

“In the next few months and definitely before the election process in the United States, we are trying to constructively advance this negotiation,” Guajardo said Wednesday. “We believe that there is the possibility of finding a safe landing zone.”