reformat controller