Corrected execution order.