reformat contents