change to model$expandNodeNames()