changed formatter to indent the content in the switch statement