general example cleanup