BLACKSBURG, Va. — Three weeks and a quarterback change appear to have made a significant impact for Virginia Tech. The Hokies had a bye week after their 45-10 loss to Duke three weeks ago, but came back from the break with a new quarterback in Hendon Hooker and the results have followed. They won 42-35 in Miami last weekend, and beat Rhode Island 34-17 on Saturday.

"It feels like right now we have some momentum and our mentality has gotten way better," linebacker Rayshard Ashby said.

Hooker threw three touchdown passes for the second straight game without trying to do too much.

"Whatever they're giving us, that's what we're going to take," he said after completing 16 of 27 passes for 261 yards. He also ran 15 times for 43 yards and led an offense that scored on all five of its trips inside the Rhode Island 20-yard line.

Hooker hit Damon Hazleton from nine and 37 yards in the first half and Dalton Keene from three yards after the Rams pulled to within 17-14 in the third quarter. The Hooker-to-Hazleton connection almost teamed up for a third first-half score, but Hazleton dropped what looked like a sure 71-yard scoring pass before halftime. His scoring toss to Keene was his fourth to the tight end in the past two games.

"The biggest thing is that he's taken care of the football in both starts," coach Justin Fuente said.

Virginia Tech (4-2) won its second in a row, but without showing the firepower that marked the victory at Miami a week ago.

The Hokies were stopped on three consecutive runs after having a first down at the Rams' 5 yard-line on their opening possession, having to settle for a field goal, and needed a 75-yard scoring drive early in the final quarter to get some insurance points.

The Rams (1-5) fell to 1-18 against Football Bowl Subdivision schools, but not before putting a scare into the crowd at Lane Stadium. "We came out and did exactly what we needed to do," Rams coach Jim Fleming said.

"They needed just 2:34 after taking the second-half kickoff to drive for their lone touchdown, a 9-yard pass from Vito Priore to Ahmere Dorsey. A 2-point conversion made it a three-point game, but Hooker drove the Hokies 93 yards for Keene's touchdown on the next series.

"It's not like we learned something tremendous about ourselves because we were able to stay close to Virginia Tech," Fleming said. A scoring run by Deshawn McClease pushed the margin to 14 points. Brian Johnson kicked a pair of 22-yard field goals.