format the page