Sen. Claire McCaskill, a Democrat from Missouri, ended her 12 years in the upper chamber of Congress by saying she was worried about the institution.

“I’d be lying if I didn’t say I was worried about this place. It just doesn’t work as well as it used to,” McCaskill said, in her farewell remarks on the Senate floor.

“ “Peter Morgan, an author, said, ‘No family is complete without an embarrassing uncle.’ We have too many embarrassing uncles in the United States Senate.” ” — Sen. Claire McCaskill, Democrat from Missouri

Though she didn’t identify the “embarrassing stuff,” her comments came the same day the Senate unanimously passed a bill to overhaul the process for handling sexual assault and harassment claims.

McCaskill, 65, was defeated in November by Republican Josh Hawley, 38, who had served as Missouri’s attorney general.

In her remarks, McCaskill said the Senate was no longer the world’s greatest deliberative body.

“Everybody needs to quit saying it until we recover from this period of polarization and the fear of the political consequences of tough votes,” she said.

She noted that the chamber only voted on 36 amendments so far this year, down from 306 in 2007 when she arrived in the chamber.

“Solving the toughest problems will not happen without tough votes,” she said.

McCaskill said the Senate was also becoming like the House of Representatives, where the leadership can tightly control the agenda.

“Power has been dangerously centralized in the Senate. A few people are writing legislation, a few people are making decisions,” she said.

Sen. Orrin Hatch, a Utah Republican, also used his farewell speech to issue a warning about the Senate.

Read:Senate ‘is in crisis,’ says Orrin Hatch in farewell remarks