trying to get pages to work