randoms example, transfer queue, countdown latch