by monitoring electrical characteristics of the water