cleanups for SAMPLE