moved requirements to Page.php