clean and document