set up the pages