some cleanups
race conditions examples