The Cardinals have agreed to a $2,222,500 bonus with first-round draft pick Delvin Perez, MLB.com’s Jim Callis reports on Twitter. That’s precisely the slot value that came with the 23rd overall selection.

Coming into the draft, Perez was viewed as a top ten pick. But his stock began to fall as word got out that he had failed a test for a performance-enhancing drug.

St. Louis ultimately struck with the last pick of the first round, and they’ll get a player with some serious upside in spite of the concerning test results. Baseball America rated him the eighth-best prospect available, explaining that he’s a speed demon and defensive whiz who still needs to refine his approach at the plate. Perez landed ninth on the MLB.com board and ESPN.com’s Keith Law ranked him 15th in the class based upon his “lightning-quick hands, a plus arm, plus range and 70 running speed.”

Perez is one of several interesting players taken by the Cards. The club saved a nice amount of cash in its deal with 33rd-overall pick Dylan Carlson, but has yet to sign its trio of college righties: Mississippi State’s Dakota Hudson (34th), Connor Jones of the University of Virginia, and UNC’s Zac Gallen.