reworked the pages to fix errors