expanded the brine control using a scoping parameter