WaitingTrans class replaces Queue class