cleanup structure