filtering pages to produce