A laboratory investigation of chlorine stability in water at various pH values