Updated code so that all actors require node name and each prints its node names.