reformat and add pages