learn race condition