Node-State-Machine