Formating and cleaning