at an intermediate node or at the final node