The current Congress is the most racially diverse in history, but it’s still much whiter than the country overall, according to a new analysis by the Pew Research Center.

First, the good news: About 22 percent of members of the House and Senate, or 116 lawmakers, are racial or ethnic minorities — the most diverse Congress ever.

“This represents an 84% increase over the 107th Congress of 2001-03, which had 63 minority members,” Kristen Bialik wrote for Pew. The current Congress is also the fifth in a row that has been more racially or ethnically diverse than the last.

As this chart from Pew shows, the current Congress’s boost in diversity reflects an increase in every major racial and ethnic group — black, Hispanic, Asian, and Native American.

The changes have made some parts of Congress match the general US population, Bialik explained: “For example, 12% of House members are black, about equal to the share of Americans who are black. And Native Americans now make up 1% of the House, equal to their 1% of the population.”

The shifts are also lopsided by political party: Of the 22 nonwhite first-term representatives, only one is a Republican, Bialik wrote.

Still, Congress remains pretty white overall compared to the rest of the US population. About 78 percent of Congress is white, versus 61 percent of the overall population. The overall gap has widened over time, according to Pew, which means the US population is becoming less white more quickly than Congress is becoming less white.

“The share of Hispanics in the U.S. population (18%) is twice as high as it is in the House (9%),” Bialki wrote. “Asians account for 6% of the national population but 3% of House members.”

One caveat: Some members of Congress are counted twice in Pew’s analysis. Presidential candidate and Sen. Kamala Harris (D-CA), for example, is black and South Asian, and counted in both categories.

Beyond making Congress look a bit more like the people it’s supposed to represent, this kind of diversity matters because people’s backgrounds and life experiences can influence what issues they think are most important.

For example, Sen. Tim Scott (R-SC) is black, and he’s spoken several times about how he’s been racially profiled by police. In 2016, he said that he had been stopped seven times by police officers in the course of one year, even as an elected official. “Was I speeding sometimes? Sure,” he acknowledged. “But the vast majority of the time, I was pulled over for nothing more than driving a new car in the wrong neighborhood or some other reason just as trivial.”

These experiences have helped shape Scott’s views on policies regarding police and the criminal justice system, leading him to support — and introduce — certain reform efforts.

Similarly, the election of Rep. Ilhan Omar (D-MN) led Congress to end a 181-year-old ban on headwear on the House floor, allowing Omar to wear a hijab as she does her job. “No one puts a scarf on my head but me,” Omar tweeted last year. “It’s my choice—one protected by the first amendment.”

The same applies to gender diversity and equality. Studies show, for example, that electing more women has a noticeable effect on how governments work, with research indicating that women legislators sponsor more bills, pass more laws, and get more money sent back to their districts.

So the new Congress doesn’t just look a bit more like the people it represents now. It also may be somewhat more representative, in terms of concerns and policy, for the rest of the country.