basic checking for pages