there can be multiple last nodes, in this case i or them?