removed class.pages.php