renamed function to clean-and-indent