function potentialRoot input VariableName node; parameter input Integer priority = 0; end potentialRoot;