Free-agent starting pitcher Edinson Volquez and the Miami Marlins reportedly agreed to terms on a contract on Monday.

The Miami Herald‘s Clark Spencer first reported the news, while Ken Rosenthal of Fox Sports confirmed the news and added the deal is for two years and $22 million pending a physical. 

In his second season with the Kansas City Royals, Volquez compiled a 10-11 record with a 5.37 ERA and 1.55 WHIP. He gave up more than a hit per inning and allowed a career-worst 23 home runs. FanGraphs‘ WAR formula measured his performance as being 1.1 wins worse than he was in 2015, when he was an integral part of the staff that led Kansas City to the World Series.

“I think I was kind of struggling all year,” Volquez said, according to the Associated Press (h/t the Washington Times). “It was one of those years. Everything doesn’t go your way.”

While far from his best year, it wouldn’t have been a surprise to see the Royals take a chance on Volquez in 2017. The $11 million price tag isn’t all that exorbitant for a reliable arm. The Royals will likely wind up paying as much, if not more, to replace him with another veteran.

And even though Volquez wasn’t at his best, he wasn’t all that bad once you dig a little deeper. His ERA was nearly a full run worse than his FIP, his home run-to-fly ball ratio leaped nearly 5 percent from 2015 and opponents raised their average on balls in play by 29 points, per FanGraphs. A 1.5 WAR wasn’t what the Royals expected, but that’s still roughly in line with what an $11 million arm will produce nowadays.

If anything, Volquez got a little unlucky in 2016.

Now he heads to a Marlins rotation in desperate need of some help after staff ace Jose Fernandez died in a boating accident in September. The Marlins staff is shaping up to include Volquez alongside Adam Conley, Tom Koehler and Wei-Yin Chen.

The Marlins staff compiled a 4.05 ERA last season, good enough for sixth in the National League.

Read more MLB news on