Formatted the pages