Clean and minimize