r adds these attributes recursively where not already set, by setting them to the values of the parent node. It works recursively starting at *node*. c