clean and indent the code