fox2- made the page class