BOULDER, Colo. — Aric Goodman made a 25-yard field goal in overtime to give Colorado a 17-14 victory over No. 21 West Virginia on Thursday night.

The Mountaineers had the ball first in overtime, but Pat McAfee's 23-yard attempt clanged off the left upright.

Cody Hawkins threw two first-quarter touchdown passes and Rodney Stewart ran for 166 yards, the most ever by a Colorado freshman, to help the Buffaloes improve to 3-0 for the first time since 2004.

West Virginia quarterback Pat White ran for two touchdowns and 148 yards, and Noel Devine finished with 133 yards on the ground.

The Mountaineers (1-2) have lost consecutive road games for the first time since 2003. They lost at East Carolina, 24-3, on Sept. 6.

After winning the overtime coin flip, Colorado elected to go on defense first. West Virginia stalled out after driving to the 6 and McAfee missed for the first time this season. He was 3-for-3 coming into the contest.

The Buffaloes ran four plays and then trotted out Goodman for the kick. He knew it was good the moment he hit it.