The Baltimore Ravens failed to make the playoffs with an 8-8 record last season, and their defense was among the main reasons why.

The Ravens tried to address that Thursday by agreeing to a four-year contract with veteran cornerback and NFL free agent Brandon Carr.

ESPN’s Adam Schefter reported there are a few options in Carr’s deal.

Carr made 61 tackles and interception one pass for the Dallas Cowboys last season. Dallas signed him to a five-year, $51.5 million deal after the 2011 season, but he failed to live up to the lucrative deal.

The Ravens are hoping Carr returns to the form he showed with the Kansas City Chiefs from 2008 through 2011. Baltimore allowed 28 passing touchdowns last season, which ranked 24th out of 32 teams.

The Ravens lost defensive lineman Lawrence Guy in free agency after he signed with the rival New England Patriots last weekend.

Thumbnail photo via Matthew Emmons/USA TODAY Sports Images

Thumbnail photo via Sep 25, 2016; Arlington, TX, USA; Chicago Bears running back Jeremy Langford (33) runs with the ball after a catch against Dallas Cowboys cornerback Brandon Carr (39) at AT&T Stadium. Mandatory Credit: Matthew Emmons-USA TODAY Sports