fox12- made variables for the sub classes and printing out the page class