A control technique for groundwater remediation