more work on barrier.