global code reformat