structure, cleanup