code reformat 3