sug-189 options.params can be a function