copyParamIfDefined, addParamIfDefined