Newsweek magazine may have changed the way it ranks high schools this year, but one thing didn’t change. Riverside-Brookfield High School still scored high, though not quite as highly in Illinois as it had under the previous system.

In the latest Newsweek rankings published in June, the magazine ranked RBHS as the ninth best high school in Illinois and 194th in the nation.

“This national ranking recognition confirms our philosophy here at Riverside-Brookfield High School that by establishing high expectations for all learners, allowing open access to rigorous curriculum, and providing exemplary instructors in a supportive environment, students can reach their potential,” said Principal Pamela Bylsma in a statement in a press release issued by RBHS. “We are proud of our students for stepping up to this challenge, of our parents for their support and of our teachers for the quality of education they provide.”

Last year, under Newsweek’s old ranking system, RBHS ranked fourth in the state of Illinois and 195th in the nation.

Newsweek’s old ranking system was based almost entirely on the percentage of students who took Advanced Placement tests. Newsweek’s new system is based on six components, including graduation rate; college matriculation rate; AP tests per graduate; average ACT/SAT score; average score on AP, International Baccalaureate or Advanced International Certificate of Education tests; and AP courses offered.

Newsweek changed its ranking formula this year after the magazine was sold by the Washington Post company last year. The creator of the old system, Jay Mathews, is a Washington Post reporter.

The Washington Post and Mathews came out with their own rankings of high schools in May using the old Newsweek formula. Under that formula, RBHS ranked fifth in Illinois and 239th in the nation.

Ranking above RBHS in the new Newsweek rankings were Northside College Prep, Illinois Math and Science Academy, Hinsdale Central, Stevenson, Glenbrook North, Prospect, University High School of Urbana and New Trier.

Lyons Township High School, which serves the southern half of Brookfield, ranked 23rd in the state and 428th in the nation, according to the new Newsweek formula.

Last year under the old Newsweek system, which penalizes schools that have a smaller percentage of students taking Advanced Placement tests, LTHS ranked 36th in Illinois and 1,305th in the nation.

In this year’s Washington Post rankings LTHS was rated 58th in Illinois and 1,498th in the nation.