adding a replaceParmValue method