Right-hander Kenta Maeda and the Tigers agreed Sunday on a two-year, $24 million contract, lengthening Detroit’s rotation as it hopes to improve on a 78-84 finish in the winnable American League Central, sources familiar with the deal told ESPN.

Maeda, who will be 36 two weeks into the season, joins a Tigers team that went 39-34 in the second half and had a positive run differential, matching their win total in 89 first-half games. Detroit had targeted starting depth in the mid-tier pitching market, and Maeda, coming off Tommy John surgery, posted a 4.23 ERA in 104⅓ innings with 117 strikeouts and 28 walks for the Minnesota Twins.