LOS ANGELES (AP) _ Reggie Miller scored 21 of his 32 points in the second half Monday night as UCLA held on to upset top-ranked North Carolina 89-84 in college basketball Monday night.

The victory avenged the Bruins' worst loss ever, a 107-70 defeat suffered last year at Chapel Hill, N.C., at the hands of the Tar Heels.

The Bruins, 2-0, led almost the entire way, opening a 13-point lead in the first half.

With freshmen Greg Foster and Trevor Wilson playing key roles in the second half, the Bruins kept North Carolina from getting into position to tie the game in the final 10 minutes.

Foster scored six points in the second half, and Wilson added six more in the final four minutes.

Kenny Smith led North Carolina, 2-1, with 18 points. After opening an eight-point lead at halftime, UCLA repeatedly held off the Tar Heels early in the second half. A basket by Foster and two by Miller put the Bruins up 71-60 with less than nine minutes to play.

With UCLA up 73-66, Miller scored seven points and Wilson added six to put the Bruins ahead 86-75 with 1:35 to play.

UCLA weathered a North Carolina spurt late in the first half to open a 47-39 advantage at halftime. In the half's final two minutes, Miller hit three free throws, Jack Haley put in two and Montel Hatcher added a jumper as the Bruins pulled clear.

North Carolina had cut a 13-point UCLA lead to two in less than three minutes. By forcing the Bruins into turnovers with a full-court press, the Tar Heels ran off 11 straight points to pull to within 39-37 with 2:22 left in the half.

UCLA ran off spurts of 11-4 and 10-4 in the first 10 minutes to take a 27-17 lead with 10:45 remaining in the half.