Whoops, put demo code in wrong place.  Fixing race condition