re-organize code formatter