Section 4: cleanup