GARY — The trade of first baseman Jeremy Hamilton didn’t seem to negatively affect the RailCats on Wednesday night.

They topped Sioux Falls 9-6 at the Steel Yard, scoring two runs in the first inning and three more in the second on their way to 17 hits. Drew Martinez went 4-for-5 with an RBI and three runs to pace the RailCats (22-16), and Drew Muren went 3-for-4. Four players had two hits, including Ryan Babineau (3 RBI), and just-signed Adam Humes, who went 2-for-3 with an RBI in his debut.

“Everybody contributed,” RailCats manager Greg Tagert said.

Stephen Bougher won for the first time since May 28, allowing three runs — a sixth-inning homer to A.J. Kirby-Jones — on three hits in seven innings. Coming off two hitless innings in Saturday’s suspended game, Bougher was 0-2 in his previous five starts.

Before the game, the RailCats announced they dealt Hamilton to Lincoln for future considerations. In 33 games, Hamilton hit .259 with 14 RBI, tying for the team lead in doubles with 10.

“It’s been more difficult than I imagined to juggle the lineup,” Tagert said before the game. “It was a move not so much to gain anything from the outside, but to free up something for our players that are here to be in that lineup as much as possible.”

Tagert cited players such as catchers Craig Maddox and Ryan Babineau and Wally Backman Jr. He also mentioned the return of shortstop Ryan Brockett from the disabled list, and the emergence of Derek Smith as factoring into the decision. Smith, who has at least one hit in all 12 of his starts, increased his average to .478 (22-for-46) by going 2-for-4.

“It can’t just be luck — this guy can hit,” Tagert said.

Tagert held a team meeting before batting practice to address Hamilton’s trade.

“Any time you move a player who was somewhat of a signature player for our ballclub, an everyday guy who’s been here from Day 1, established himself with our ballclub, and somebody we sought after in the offseason, it can have an impact on the club,” he said.

Tagert described Hamilton as “hands down the best defensive first baseman we’ve ever had here in Gary,” but it is his only position.

“It’s almost hypocritical on my end, somebody who believes so much in defense, and the value over there was tremendous,” Tagert said. “But it also took away some of the attributes of our ballclub, that versatility, the flexibility of having players who could do multiple things. ... It’s been a huge part of our success for nine years.”

Humes, whose longer-term status with the team had yet to be determined, primarily is a first baseman, but also can play third and left field. He had been playing for the Adrian Pioneers in the Independent Baseball League, which consists of two teams each in Michigan and Ohio. Humes, whom the RailCats had worked out as an undrafted senior from Northwood University last year, played seven games with McAllen in the United League last season.