The Orioles have agreed to sign righty Chris Perez, presumably to a minor league deal, Matt Eddy of Baseball America reports on Twitter. Of course, Perez was just hit with a 50-game suspension for recreational drug use, so he’ll have to serve out that ban before donning a uniform in the Baltimore system.

Perez, the former Indians closer, started the year with the Brewers organization on a minor league deal after struggling in 2014 with the Dodgers. He opted out earlier in the year and received his suspension while a free agent. Before that, Perez had allowed eight earned runs over 7 2/3 Triple-A frames, with just three strikeouts against four walks.

Still just 29 years of age, Perez has had his moments in the big leagues. Indeed, despite his more recent difficulties keeping runs of the board, he’s pitched to a lifetime 3.51 ERA in 379 1/3 innings (with 8.6 K/9 against 3.9 BB/9). And Perez averaged around 94 mph on his fastball last year, indicating that he could still have some gas in the tank.