pagesInCategory: modify the example