Cleans and edits