The cleaning stage