-page to class