adding filter for pages