tn for next, tw for waiting actions