Cleaning the output