reformat code 2