Clean and format