Revert "Revert "formatting code""

This reverts commit 7bef5447efb38f291f0e1f77a7e242d8f32c898b.