added declaration of payloadNodeName