refactoring reformat