node-manager logic