cleaning and indentation